package file_io;

import java.io.File;
import java.io.IOException;

public class FileDemo {
    public static void main(String[] args) throws IOException {
      /*  File file = new File("D:\\DownLoadRecord.ini");*/
        File file = new File("src/test.txt");
        if(file.exists()){
            System.out.println(file.getCanonicalPath());
            System.out.println(file.canWrite());
            System.out.println(file.length());
        }
    }
}
